﻿using Inovout.Repositories;
using Inovout.Services;
using Inovout.YunYao.Models;
using NHibernate.Criterion;

namespace Inovout.YunYao.Repositories
{
    public class SolutionApplicationRepository : DataObjectRepository<SolutionApplication>
    {

        public SolutionApplication FindBySolutionId(int solutionId)
        {
            return base.Find(Expression.Eq("Solution.Id",solutionId));
        }
    }
}
